<%@page import="java.sql.*,Bean.*" contentType="text/html" pageEncoding="UTF-8"%>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>通过MySQL的JDBC驱动访问数据库</title>
    </head>
    <body background="1.jpg">
        <%     
        Xs xs = new Xs();
			xs.setSno(Integer.parseInt(request.getParameter("sno")));
			xs.setBanji(request.getParameter("banji"));
			xs.setSsex(request.getParameter("ssex"));
			xs.setPhone(Integer.parseInt(request.getParameter("phone")));
			xs.setQq(request.getParameter("qq"));
			xs.setSname(request.getParameter("sname"));
			xs.setSpassword(request.getParameter("spassword"));
			xs.addXS();
			DBJavaBean.message("注册成功");
		
		%>
    </body>
</html>      